//
//  MSHotelInfoCell.h
//  MSJD
//
//  Created by 箭军刘 on 2018/10/15.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/** 酒店setion头部按钮类型 */
typedef NS_ENUM(NSUInteger, MSHotelSectionButtonType) {
    MSHotelSectionButtonTypeLocation = 0, // 位置按钮
    MSHotelSectionButtonTypeTime, // 时间按钮
    MSHotelSectionButtonTypeSearch // 搜索
};

@interface MSHotelSectionView : UIView

/** sectionview的顶部按钮点击回调 */
@property (nonatomic, copy) void (^SectionTopButtonClickBlock)(MSHotelSectionButtonType type);

/** 筛选页展示控件回调 isShow:YES-展示  NO-消失 */
@property (nonatomic, copy) void (^FilterShowBlock)(BOOL isShow);
/** 刷新筛选项回调 */
@property (nonatomic, copy) void (^RefreshFilterBlock)(NSDictionary *selectFilterDic);
/** 清理按钮点击 */
@property (nonatomic, copy) void (^SearchClearButtonClickBlock)(void);

+ (instancetype)loadHotelSectionViewWithFilterInfo:(NSDictionary *)filterInfo;

- (void)showSectionFilterView;

/** 修改入住和退房的标签 */
- (void)refreshSectionDayLabel:(NSDictionary *)content;

/** 修改城市标题 */
- (void)refreshCityTitle:(NSString *)cityTitle;

/** 修改搜索内容 */
- (void)changeSearchTitle:(NSString *)title;

/** 重置选中的筛选数据 */
- (void)resetFilterSelectData;

@end

NS_ASSUME_NONNULL_END
